/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.security.nls;

import java.util.Locale;
import java.util.Properties;

/**
 * 语言翻译引擎
 *
 * @author vacoor
 */
public interface Translator {

    boolean accepts(Locale from, Locale to);

    String translate(String text, Locale from, Locale to);

    String translate(String text, Locale from, Locale to, Properties props);

}
